package dhy.lyb.change.dao;

import dhy.lyb.change.model.Activity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2016/11/25.
 */
public interface ActivityDao extends BaseDao<Activity> {

    /**
     * 获取activity表中的id集合
     *
     * @return
     */
    public List<Integer> getCount();

    /**
     * 获取记录数
     *
     * @return
     */
    public Integer getActivityCount();

    /**
     * 获取指定id之外的训练内容
     *
     * @param ids
     * @return
     */
    public List<Activity> getExtendsActivities(@Param("ids") List<Integer> ids);
}
